import service from "@/utils/request";

export function useGetBillTypeSelectApi(data: object | undefined){
    return service.post("/bill/type/select", data)
}

export function useCreateBillInsertApi(data: any){
    return service.post("/bill/bill", data)
}

export function useSettlementApprovalApi(data: any){
    return service.put("/bill/bill/settlement", data)
}

export function useProjectBillListApi(id: string){
    return service.get("/bill/bill/list", {
        params: {
            billId: id
        }
    })
}
